package cc.customer.cRound.dao;


import cc.customer.cRound.domain.CRoundConfig;
import cc.customer.common.config.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CRoundConfigMapper extends MyMapper<CRoundConfig> {

    List<CRoundConfig> selectConfigByPid(@Param("config") CRoundConfig config);

    List<CRoundConfig> selectConfigByPidNEw(@Param("config") CRoundConfig config);

    List<CRoundConfig> selectConfigGroupByGrade(@Param("config") CRoundConfig config);

    int updateBatchCRoundConfig(@Param("list") List<CRoundConfig> list,@Param("type") String type);

    List<CRoundConfig> selectGradeByPid(@Param("pid") String pid);


    int updateGradeCount(@Param("cc") CRoundConfig cc);

    List<CRoundConfig> selectByPid(@Param("puuid") String puuid);

    List<CRoundConfig> selectByPidNotGroup(@Param("puuid") String puuid);

    int updateNewRound(@Param("cc") CRoundConfig cc);

    int updateAllCountByid(@Param("puuid") String uuid);

    int updateConfigYi(@Param("config") CRoundConfig config);


}